Alias /docs /usr/share/doc/bodhi-docs/html/

<Location /docs/>
	Header set Cache-Control public
	ExpiresDefault "access plus 1 month"
	Header  unset ETag
</Location>


Alias /static /usr/lib/python2.7/site-packages/bodhi/server/static/

<Location /static/>
	Header set Cache-Control public
	ExpiresDefault "access plus 1 month"
	Header  unset ETag
</Location>

<FilesMatch ".(eot|ttf|otf|woff)">
    # modern browsers require that fonts have this
    Header set Access-Control-Allow-Origin "*"
</FilesMatch>


WSGIDaemonProcess bodhi user=bodhi group=bodhi display-name=bodhi processes={{wsgi_procs}} threads={{wsgi_threads}} maximum-requests=1000
WSGISocketPrefix run/wsgi
WSGIRestrictStdout On
WSGIRestrictSignal Off
WSGIPythonOptimize 1

WSGIScriptAlias / /usr/share/bodhi/bodhi.wsgi

<Location />
    WSGIProcessGroup bodhi
    <IfModule mod_authz_core.c>
        # Apache 2.4
        Require all granted
    </IfModule>
    <IfModule !mod_authz_core.c>
         # Apache 2.2
        Order deny,allow
        Allow from all
    </IfModule>
</Location>
